<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 1.indexof 判断是否存在
        const mingzhu = ['西游记','红楼梦','三国演义','水浒传']
        console.log(mingzhu.includes('西游记'));
        console.log(mingzhu.includes('金瓶梅'));

        // 2.** 幂运算
        console.log(2 ** 2); //相当于Math.pow(2,2)
    </script>
</body>
</html>